package com.csun.cmny.provider.service.impl;

import com.csun.cmny.provider.dao.DictionaryMapper;
import com.csun.cmny.provider.pojo.Dictionary;
import com.csun.cmny.provider.service.DictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DictionaryServiceImpl implements DictionaryService {
    @Resource
    private DictionaryMapper dictionaryMapper;
    @Override
    public int deleteByPrimaryKey(Integer dictionaryId) {
        return 0;
    }

    @Override
    public int insert(Dictionary record) {
        return 0;
    }

    @Override
    public int insertSelective(Dictionary record) {
        return 0;
    }

    @Override
    public Dictionary selectByPrimaryKey(Integer dictionaryId) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Dictionary record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Dictionary record) {
        return 0;
    }

    @Override
    public List<Dictionary> selectByType(int dictionaryType) {
        return dictionaryMapper.selectByType(dictionaryType);
    }
}
